package com.cloudlinkscm.loms.services.base.notify.dto.email;

import org.apache.commons.lang3.StringUtils;

/**
 * 抄送人信息
 *
 * @author : tac
 * @date : 2017/6/16
 */
public class Cc {
    public Cc(String recipient, String mail) {
        if(!StringUtils.isNoneBlank(recipient, mail)){
            throw new IllegalArgumentException();
        }
        this.recipient = recipient;
        this.mail = mail;
    }

    private String recipient;
    private String mail;

    public String getRecipient() {
        return recipient;
    }

    public void setRecipient(String recipient) {
        this.recipient = recipient;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }
}
